package com.lz.football.module.rankinglist
{
	import com.common.utils.Reflection;

	/**
	 *综合排名 
	 * @author Administrator
	 * 
	 */	
	public class ComRanking extends RankingBaseView
	{
		public function ComRanking()
		{
			super();
		}
		override public function initUI(view:Object=null):void
		{
			skin = Reflection.createInstance("com.lz.modul.rankingList.comrank");
			this.addChild(skin);
			page_num = 11;
			super.initUI();
			type = skin.type;
			
		}
		public function setType($type:int):void
		{
			switch($type)
			{
				case 0:
					type.text = "等级"
					break;
				case 1:
					type.text = "好友能力"
					break;
				case 2:
					type.text = "球队能力"
					break;
				case 3:
					type.text = "个人能力"
					break;
				case 4:
					type.text = "胜利场数"
					break;
				case 5:
					type.text = "进球数量"
					break;
				case 6:
					type.text = "天梯积分"
					break;
			}
		}
	}
}